home *** CD-ROM | disk | FTP | other *** search
- /*
- マウス イベント処理ライブラリ ヘッダファイル
-
- 1990.9.15 Make By ken
- */
-
- #define EVT_NON 0
- #define EVT_ON_MOS 1
- #define EVT_OFF_MOS 2
- #define EVT_CLIP_MOS 3
- #define EVT_SELECT_MOS 4
- #define EVT_DOLACK_MOS 5
- #define EVT_DLSEL_MOS 6
- #define EVT_MOVE_MOS 7
- #define EVT_REP_MOS 8
-
- typedef struct {
- int no;
- short int flg,level,now;
- short int x1,y1,x2,y2;
- void (*proc)();
- } EVENT;
-
- void EVT_level_free(int level);
- EVENT *EVT_set_node(int x1,int y1,int x2,int y2,
- int level,void (*proc)(),int no);
- void EVT_sw(int x1,int y1,char *str,
- int chr,int boxcol,
- int level,void (*proc)(),int no);
- void EVT_big_sw(int x1,int y1,char *str,
- int chr,int boxcol,
- int level,void (*proc)(),int no);
- void EVT_loop(int level);
- void EVT_clip_on(EVENT *ep);
- void EVT_clip_off(EVENT *ep);